package com.example.xitong;

import androidx.appcompat.app.AppCompatActivity;
import androidx.constraintlayout.widget.ConstraintLayout;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.gyf.immersionbar.ImmersionBar;

public class Video_study extends AppCompatActivity {
ImageView imageView;
ConstraintLayout constraintLayout;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_video_study);

        ImmersionBar.with(this)
                //.statusBarColor(R.color.purple_200)
                .init();

        constraintLayout = findViewById(R.id.hxszy);
        constraintLayout.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent();
                intent.setClass(Video_study.this, Videoplay.class);
                startActivity(intent);
            }
        });

        imageView = findViewById(R.id.imageView80);
        imageView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }
}